package com.yb.guigu.pick.mail.sender.config;

import com.yb.guigu.pick.mail.sender.sender.GuiguMailSenderImpl;
import com.yb.guigu.pick.mail.sender.sender.IGuiguMailSender;
import org.springframework.boot.autoconfigure.mail.MailProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.mail.javamail.JavaMailSenderImpl;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/6/11 20:03
 * FileName: MailSenderConfig
 * Description:
 */

@Configuration
public class MailSenderConfig {
    @Bean
    public IGuiguMailSender guiguMailSender(){
        return new  GuiguMailSenderImpl();
    }
}
